public class ExchangePhase {
	public final static int NORMAL_TRADE_PHASE = 0;
	public final static int AUCTION_TRADE_PHASE = 1;
	
	public final static int TEST = 0;
	public final static int AMS= 1;
	

	public final static String phases[][] = 
						{{"TRADE", "AUCT"},
						 {"COCO", "COAU", "CLAU"},
						};

	public static int getExchangeIndex(String ex) {
	  
		if (ex.equals("TEST")) {
			return TEST;
		} else if (ex.equals("AMS")) {
			return AMS;
		}
		return 0;		
	}
	
}
